package DataBaseQuery;


import java.util.ArrayList;
import DataType.MyDataType;

abstract public class MyExpression {

	public enum ExpressionType{VAR,CONST,FUNC};
	protected ExpressionType type;
	protected static ArrayList<MyVarible> listVaroble;
	
	String name;
	MyDataType value;
	public MyDataType getValue()
	{
		return new MyDataType();
	}
	public MyDataType getValue(RegularView view)
	{
		return new MyDataType();
	}
	public boolean isValid()
	{
		return true;
	}
	public boolean isValid(RegularView view)
	{
		return true;
	}
	public ExpressionType getType()
	{
		return type;
	}
}
